<?php
namespace Api\Controller;
use Think\Controller;
class MessageController extends Controller
{
	
	public function messagelist(){
		$messagesmodel=M('message');
     $message=$messagesmodel->order('mid asc')->select();
    echo json_encode($message);
	}
}